import sys, os
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), os.path.pardir)))
print(sys.path)

from AppStoreConnect import AppStoreConnectAPI


if __name__ == "__main__":
    
    asc = AppStoreConnectAPI(api_key_path="./god_AuthKey_K655F83H67.p8", api_issuer_id="69a6de81-f534-47e3-e053-5b8c7c11a4d1", api_key_id="K655F83H67")
    
    apps = asc.get_app_info(app_id="1490743162")
    
    # 格式化apps的json数据,并打印
    
    
    
    print(apps)
